package tjs.styudy.mini.demo.devtools.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import tjs.styudy.mini.demo.devtools.service.UserTestService;

/**
 * Created by Nicky.Tang on 2021/9/28 5:07 下午
 *
 * @since 02.12.10
 */
@RestController
@RequestMapping
public class UserTestController {
    @Autowired
    UserTestService userTestService;

    @RequestMapping("/doTest")
    public String doTest() {
        return "Hellow world 121!";
    }

    @RequestMapping("/doTest2")
    public String doTest2() {
        return userTestService.doTest2();
    }
}
